<table class="table_news">
<?php 
	$limit = count($khoahoc);
	if ($limit>0){
		for ($i=0;$i<$limit;$i++){
			echo '<tr>';
	    		echo '<td class="news_col1">';
	    			$search = array(',','/','%');
	    			$title =str_replace($search, '', $khoahoc[$i]['app_title']);
	    			$url = base_url().'news/showContent/'.$khoahoc[$i]['app_id'].'/'.$title;
	    			echo '<a href="'.$url.'">'.$khoahoc[$i]['app_img'].'</a>';
	    		echo '</td>';
	    		echo '<td class="news_col2">';
	    			echo '<a href='.$url.'>'.'<b>'.$khoahoc[$i]['app_title'].'</b></a><br>';
	    			echo $khoahoc[$i]['app_description'];
	    		echo '</td>';
	  		echo '</tr>';
		}
	}else{
		echo '<h1>Empty Data</h1>';
	}
?>
</table>